package chainOfResponsibility;

public class Client {
    public static void main(String[] args) {
        HolidayRequest request = new HolidayRequest(1, "10200571", 30);
        Chief chief = new Chief("沈浮");
        Minister minister = new Minister("关键");
        Manager manager = new Manager("杨虓");
        chief.setNext(minister);
        minister.setNext(manager);

        chief.handleHoliday(request);
    }
}
